package com.qujia.station.mapper;

import com.qujia.station.domain.Goods;
import com.qujia.station.domain.form.GoodsQueryForm;
import com.qujia.station.domain.vo.GoodsQueryVo;
import com.qujia.station.domain.vo.GoodsVo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GoodsMapper {

    int insertGoods(Goods goods);

    int updateGoods(Goods goods);

    GoodsVo selectGoodsById(Long id);

    List<GoodsQueryVo> pageGoods(GoodsQueryForm queryForm);

}
